﻿<%@ Page Language="C#" MasterPageFile="~/aspnet/admin/ForValidation.master" AutoEventWireup="true" CodeFile="CX_Column_AddNew.aspx.cs" Inherits="admin_Site_Add_site_AddNew" Title="添加新栏目" %>

<%@ Register Assembly="web表单验证控件" Namespace="CheckForm" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <table align="center" border="0" cellpadding="2" cellspacing="1" class="border" height="116"
        width="100%">
        <tr>
            <td class="topbg" colspan="2" height="30" align="center">
                栏目<strong>管理</strong></td>
        </tr>
        <tr>
            <td class="tdbg" style="height: 27px; width: 223px;">
                提示信息:</td>
            <td class="tdbg" style="height: 27px; width: 787px;">
                <asp:Label ID="tt" runat="server" CssClass="font-4"></asp:Label></td>
        </tr>
    </table>
    <br />
    <table align="center" border="0" cellpadding="2" cellspacing="1" class="border" height="116"
        width="100%">
        <tr align="center">
            <td class="topbg" colspan="2" height="30">
                <strong>添加栏目分类</strong></td>
        </tr>
        <tr id="ColumnFenlei">
            <td class="tdbg" style="height: 27px" width="223">
                栏目分类:</td>
            <td class="tdbg" style="height: 27px" width="787">
                <asp:DropDownList ID="CX_Column_Class" runat="server">
                </asp:DropDownList>&nbsp;&nbsp;&nbsp;</td>
        </tr>
        <tr >
            <td class="tdbg" style="height: 27px" width="223">
                栏目类型:</td>
            <td class="tdbg" style="height: 27px" width="787">
            
            <div id="ColumnLV0">
                    一般栏目<input id="Radio0" runat="server" type="radio" checked="true" value="0" />
                    <span class="font-2">
                    此栏目下不能添加新闻，将不进行新闻生成&nbsp;
                    </span>
            </div>
            
     <div id="ColumnLV1">
      新闻栏目<input id="Radio1" runat="server" type="radio" value="1" />
                <span class="font-2">
                用于新闻分类时使用将进行信息发布生成操作
               </span>
     </div>
     
     <div  id="ColumnLV2">
     其它栏目<input id="Radio2" type="radio" runat="server" value="2"/>
                        <span class="font-2">如公司简介公司动态这类的栏目</span>
     </div>
     <div  id="ColumnLV3">  
            
                系统栏目<input id="Radio3" runat="server" type="radio" value="3" />&nbsp;<span class="font-2">一般不参于生成</span><br />
    </div>
                </td>
        </tr>
        <tr>
            <td class="tdbg" style="height: 27px" width="223">
                添加栏目名称:</td>
            <td class="tdbg" style="height: 27px" width="787">
                <cc1:FormValidation ID="CX_Column_Name" runat="server" CssClass="alpha" datatype="Require"
                    MsgX="请填写栏目名" Width="166px" 是否验试="验试" MaxLength="50"></cc1:FormValidation></td>
        </tr>
        <tr id="Columndir">
            <td class="tdbg" style="height: 27px">
                栏目目录:</td>
            <td class="tdbg" style="height: 27px">
                <cc1:FormValidation ID="CX_Column_Directory" runat="server" CssClass="alpha" datatype="Require"
                    MaxLength="200" Width="474px" 是否验试="验试"></cc1:FormValidation>(*)使用相对于根目录的路径</td>
        </tr>
        <tr id="ColumnPic">
            <td class="tdbg" style="height: 27px">
                栏目图片</td>
            <td class="tdbg" style="height: 27px">
                <cc1:FormValidation ID="CX_Column_Pic" runat="server" CssClass="alpha" datatype="Chinese"
                    MaxLength="200" Width="474px" 是否验试="不验试"></cc1:FormValidation>&nbsp;
                <input id="Button2" runat="server" class="Text_box" type="button" value="上传图片" />&nbsp;</td>
        </tr>
        <tr id="ColumnExpiler">
            <td class="tdbg" style="height: 27px">
                栏目说明:</td>
            <td class="tdbg" style="height: 27px">
                <label>
                    <cc1:FormValidation ID="CX_Column_Explair" runat="server" CssClass="box" datatype="Require"
                        MaxLength="3000" MsgX="栏目说明" Width="284px" 是否验试="不验试" Height="154px" TextMode="MultiLine"></cc1:FormValidation></label></td>
        </tr>
        <tr id="ColumnItemlitate">
            <td class="tdbg" style="height: 27px">
                栏目模板地址:</td>
            <td class="tdbg" style="height: 27px">
                <cc1:formvalidation id="CX_Column_ItemTemplate_Url" runat="server" cssclass="alpha" datatype="Require"
                    width="474px" 是否验试="验试" MaxLength="300" MsgX="请输入栏目模板地址"></cc1:formvalidation>
                (*)使用相对于根目录的路径</td>
        </tr>
        <tr id="ColumnItemparame">
            <td class="tdbg" style="height: 27px">
                栏目模板参数(*)如?id=$:</td>
            <td class="tdbg" style="height: 27px">
                <cc1:FormValidation ID="CX_Column_ItemTeplate_Parame" runat="server" CssClass="alpha" datatype="Require"
                    MaxLength="100" Width="474px" 是否验试="不验试"></cc1:FormValidation></td>
        </tr>
        <tr id="ColumnSort">
            <td class="tdbg" style="height: 27px">
                栏目排序(0-99999)：</td>
            <td class="tdbg" style="height: 27px">
                <cc1:FormValidation ID="CX_Column_Sort" runat="server" CssClass="alpha" datatype="Integer"
                    MaxLength="5" 是否验试="验试">0</cc1:FormValidation></td>
        </tr>
        <tr>
            <td class="tdbg" style="height: 27px">
                栏目英文名</td>
            <td class="tdbg" style="height: 27px">
                <cc1:FormValidation ID="CX_CX_Column_Tab_Name" runat="server" CssClass="alpha" datatype="English"
                    MaxLength="30" Width="108px" 是否验试="验试"></cc1:FormValidation>
                添加后不能更改</td>
        </tr>
        <tr>
            <td class="tdbg" colspan="2" height="27">
            <center>
                <asp:Button ID="Button1" runat="server" Text="确定" OnClick="Button1_Click" /></center>
            </td>
        </tr>
    </table>

<script language="javascript" type="text/javascript">
<%=TextThisSite.IsShowElement("ColumnFenlei,ColumnLV0,ColumnLV1,ColumnLV2,ColumnLV3,Columndir,ColumnPic,ColumnExpiler,ColumnItemlitate,ColumnItemparame,ColumnSort")%>

</script>
</asp:Content>
